package com.zt.csp.shorturl.utils;

import java.security.GeneralSecurityException;

/**
 * 字符串打乱工具
 * Created by zt on 2018/4/11 0011
 */
public class DisorderUtils {

    /**
     * 混淆Code
     *
     * @param str
     * @return
     */
    public static String disorder(String str) throws GeneralSecurityException {
        //todo 字符串置换操作，混淆
        return str;
    }

    /**
     * 解析Code
     *
     * @param str
     * @return
     */
    public static String order(String str) {
        //todo 字符串置换操作，解密
        return str;
    }
}



